<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en" ng-app="CDash">
  <head ng-controller="HeadController">
    <meta charset="UTF-8">
    <meta name="robots" content="noindex,nofollow" />
    <link rel="shortcut icon" href="favicon.ico" />
    <link rel="stylesheet" type="text/css" ng-href="build/css/{{cssfile}}_@@version.css" />
    <link rel="stylesheet" href="css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/jquery-ui-1.10.4.css" />
    <script src="js/CDash_@@version.min.js"></script>
    <title ng-bind="title">CDash</title>
  </head>

  <body bgcolor="#ffffff" ng-controller="TestSummaryController">
  -->
    <div ng-if="cdash.requirelogin == 1" ng-include="'login.php'"></div>

    <ng-include ng-if="cdash.requirelogin != 1" src="cdash.header || 'build/views/partials/header_@@version.html'"></ng-include>
    <br/>

    <div id="main_content" ng-if="cdash.requirelogin != 1 && !loading">
      <h3>
        Testing summary for <u>{{::cdash.testName}}</u> performed between {{::cdash.teststarttime}} and {{::cdash.testendtime}}
      </h3>
      <h4>
        {{::cdash.percentagepassed}}% passed, {{::cdash.numfailed}} failed out of {{::cdash.numtotal}}.
      </h4>

      <!-- Failure Graph -->
      <a ng-click="showgraph = !showgraph" id="GraphLink">
        {{ showgraph ? 'Hide Test Failure Trend' : 'Show Test Failure Trend' }}
      </a>
      <div ng-show="showgraph" id="TestFailureGraph">
        <a ng-click="resetZoom()">Reset zoom</a>
        <div id="testfailuregraphoptions"></div>
        <div id="testfailuregraph">
          <ng-include src="graphurl"></ng-include>
        </div>
        <center>
          <div id="testfailuregrapholder"></div>
        </center>
      </div>

      <br/>
      <a ng-href="{{::cdash.csvlink}}">Download Table as CSV File</a>
      <br/>

      <!-- Test Summary table -->
      <table id="testSummaryTable" cellspacing="0" cellpadding="3" class="tabb test-table">
        <thead>
          <tr class="table-heading1">
            <th class="header" ng-click="updateOrderByFields('site', $event)">
              Site
              <span class="glyphicon" ng-class="orderByFields.indexOf('-site') != -1 ? 'glyphicon-chevron-down' : (orderByFields.indexOf('site') != -1 ? 'glyphicon-chevron-up' : 'glyphicon-none')"></span>
            </th>

            <th class="header" ng-click="updateOrderByFields('buildName', $event)">
              Build Name
              <span class="glyphicon" ng-class="orderByFields.indexOf('-buildName') != -1 ? 'glyphicon-chevron-down' : (orderByFields.indexOf('buildName') != -1 ? 'glyphicon-chevron-up' : 'glyphicon-none')"></span>
            </th>

            <th class="header" ng-click="updateOrderByFields('buildStamp', $event)">
              Build Stamp
              <span class="glyphicon" ng-class="orderByFields.indexOf('-buildStamp') != -1 ? 'glyphicon-chevron-down' : (orderByFields.indexOf('buildStamp') != -1 ? 'glyphicon-chevron-up' : 'glyphicon-none')"></span>
            </th>

            <th class="header" ng-click="updateOrderByFields('status', $event)">
              Status
              <span class="glyphicon" ng-class="orderByFields.indexOf('-status') != -1 ? 'glyphicon-chevron-down' : (orderByFields.indexOf('status') != -1 ? 'glyphicon-chevron-up' : 'glyphicon-none')"></span>
            </th>

            <th class="header" ng-click="updateOrderByFields('time', $event)">
              Time (s)
              <span class="glyphicon" ng-class="orderByFields.indexOf('-time') != -1 ? 'glyphicon-chevron-down' : (orderByFields.indexOf('time') != -1 ? 'glyphicon-chevron-up' : 'glyphicon-none')"></span>
            </th>

            <th ng-if="::cdash.hasprocessors" class="header"
                ng-click="updateOrderByFields('time', $event)"
                tooltip-popup-delay="1500"
                tooltip-append-to-body="true"
                uib-tooltip="Seconds * number of processors">
              Proc Time
              <span class="glyphicon" ng-class="orderByFields.indexOf('-proctime') != -1 ? 'glyphicon-chevron-down' : (orderByFields.indexOf('proctime') != -1 ? 'glyphicon-chevron-up' : 'glyphicon-none')"></span>
            </th>

            <th class="header" ng-click="updateOrderByFields('update.revision', $event)">
              Build Revision
              <span class="glyphicon" ng-class="orderByFields.indexOf('-update.revision') != -1 ? 'glyphicon-chevron-down' : (orderByFields.indexOf('update.revision') != -1 ? 'glyphicon-chevron-up' : 'glyphicon-none')"></span>
            </th>

            <th ng-repeat="column in ::cdash.columns">
              {{::column}}
            </th>
          </tr>
        </thead>

        <tr ng-repeat="build in cdash.builds |orderBy:orderByFields" ng-class-odd="'odd'" ng-class-even="'even'">
          <td>
            {{::build.site}}
          </td>

          <td>
            <a ng-href="{{::build.buildLink}}">
              {{::build.buildName}}
            </a>
          </td>

          <td>
            {{::build.buildStamp}}
          </td>

          <td ng-class="::build.statusclass">
            <a ng-href="{{::build.testLink}}">
              {{::build.status}}
            </a>
          </td>

          <td>
            {{::build.time}}
          </td>

          <td ng-if="::cdash.hasprocessors">
            {{::build.proctime}}
          </td>

          <td>
            <a ng-href="{{::build.update.revisionurl}}">
              {{::build.update.revision}}
            </a>
          </td>
          <td ng-repeat="measurement in ::build.measurements">
            {{::measurement}}
          </td>
        </tr>
      </table>
      <br/>
    </div>

    <!-- FOOTER -->
    <br/>
    <ng-include ng-if="cdash.requirelogin != 1" src="cdash.footer || 'build/views/partials/footer_@@version.html'"></ng-include>
<!--
  </body>
</html> -->
